package com.training1.core.modules.service;

import java.util.HashMap;
import java.util.Map;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training1.core.common.entity.BOXUserEntity;
import com.training1.core.common.entity.RespJson;
import com.training1.core.common.global.signIn.BOXLoginInfoUtil;
import com.training1.core.common.service.CrudService;
import com.training1.core.common.utils.framework.RespJsonFactory;
import com.training1.core.common.utils.security.MD5;
import com.training1.core.entity.ContractBaseEntity;
import com.training1.core.entity.UserRoleEntity;
import com.training1.core.modules.dao.BOXUserEntityDao;
import com.training1.core.modules.dao.ContractDao;
import com.training1.core.modules.dao.UserRoleDao;

/**
 * 用户角色
 * @author hl
 *
 */
@Service
@Transactional
public class UserRoleService extends CrudService<UserRoleDao,UserRoleEntity>{
	@Resource
	private UserRoleDao urDao;
	
	public void updateByUserId(UserRoleEntity urEntity){
		urDao.updateByUserId(urEntity);
	}
}
